require('./init')
const express = require("express")
const http = require("http")
const app = express(); // 创建一个express应用
// app 实际是一个用于处理请求的函数
const server = http.createServer(app)
const port = 5008;
server.listen(port, ()=>{
    console.log(`server listening ${port}`)
})